package com.group5.onlinegame.service;

import com.group5.onlinegame.dao.ILoginUserDao;
import com.group5.onlinegame.entity.LoginUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LoginService implements ILoginService {

    @Resource
    private ILoginUserDao loginUserDao;

    @Override
    public LoginUser getLoginUser(LoginUser loginUser) {
        return loginUserDao.getLoginUser(loginUser);
    }
}
